package com.etc.service;

import com.etc.entity.Hospital;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import javax.xml.soap.Text;
import java.util.List;


public interface HospitalService {

    public Hospital queryById(int id);
    public List<Hospital> queryBy(String text);
    public List<Hospital> queryByArea(int area);
    public List<Hospital> queryAll();
    public void deleteById(int id);
    public void insertHospital(@Param("id") int id,@Param("name") String name,@Param("site") String site,@Param("area") int area);
    public void updateHospital(Hospital hospital);

}
